import request from "@/utils/request";

// 请求头部轮播图的API
export const getSwpieApi = () => {
  return request.get(
    "/m-revision/page/index/queryIndexTabContent?moduleKey=tuijian"
  );
};

// 请求头部分类Item的API
export const getTitleCategoryApi = () => {
  return request.get("/m-revision/page/index/queryIndexTabModule");
};

// 请求排行榜一级、二级分类的API
export const getRankCategoryApi = () => {
  return request.get("/revision/rank/v4/rankTabs?sceneId=1");
};
